home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Environments / Clean 1.2.4 / IOInterface / deltaIOState.dcl < prev    next >
Encoding:
Modula Definition  |  1995-02-23  |  872 b   |  34 lines  |  [TEXT/3PRM]

  1. definition module deltaIOState;
  2.  
  3. //    Version 0.8 to 1.0
  4.  
  5. //
  6. //    Operations on the IOState that have a global effect.
  7. //
  8.  
  9.  
  10. import    deltaIOSystem;
  11.  
  12.  
  13. //    Operations on the global cursor:
  14.  
  15. SetGlobalCursor    :: !CursorShape !(IOState s) -> IOState s;
  16. /*    Set the shape of the cursor globally. This shape overrules the local cursor
  17.     shapes of windows. */
  18.  
  19. ResetCursor        :: !(IOState s) -> IOState s;
  20. /*    Undoes the effect of SetGlobalCursor. */
  21.  
  22. ObscureCursor    :: !(IOState s) -> IOState s;
  23. /*    ObscureCursor hides the cursor until the mouse is moved. */
  24.  
  25.  
  26. //    Operations on the double down distance:
  27.  
  28. SetDoubleDownDistance :: !DoubleDownDist !(IOState s) -> IOState s;
  29. /*    Set the maximum distance the mouse is allowed to move to generate a
  30.     ButtonDouble(Triple)Down button state. Negative values are set to zero. */
  31.  
  32.  
  33. from    ioState    import IOStateSetDoubleDownDist, DoubleDownDist, IOState;
  34.